package com.wangsd.web.face.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wangsd.web.face.entity.Device;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author generator
 * @since 2019-09-09
 */
public interface DeviceMapper extends BaseMapper<Device> {
    IPage<Device> selectListXml(Page<Device> page, @Param("device") Device device);

    List<Device> selectAllByUserCodeXml(String code);

    void deleteDeviceStoreIdXml(Long deviceId);

    void removeDeviceStoreIdByStoreId(Long storeId);
}
